
<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

    <title>About external files &#8212; Leo 6.7.2 documentation</title>
    <link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../../_static/classic.css" />
    <link rel="stylesheet" type="text/css" href="../../_static/custom.css" />
    
    <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
    <script src="../../_static/jquery.js"></script>
    <script src="../../_static/underscore.js"></script>
    <script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
    <script src="../../_static/doctools.js"></script>
    <script src="../../_static/sphinx_highlight.js"></script>
    
    <script src="../../_static/sidebar.js"></script>
    
    <link rel="index" title="Index" href="../../genindex.html" />
    <link rel="search" title="Search" href="../../search.html" />
    <link rel="next" title="Loading and saving files" href="slide-002.html" />
    <link rel="prev" title="Using external files" href="external-files.html" /> 
  </head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="slide-002.html" title="Loading and saving files"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="external-files.html" title="Using external files"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="../../leo_toc.html">Leo 6.7.2 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="../../toc-more-links.html" >More Leo Links</a> &#187;</li>
          <li class="nav-item nav-item-2"><a href="../../slides.html" >Slides</a> &#187;</li>
          <li class="nav-item nav-item-3"><a href="external-files.html" accesskey="U">Using external files</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">About external files</a></li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <section id="about-external-files">
<h1>About external files<a class="headerlink" href="#about-external-files" title="Permalink to this heading">¶</a></h1>
<p>Trees whose root headline starts with &#64;file, &#64;auto or &#64;edit create external
files on your file system. Here are some example headlines:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="nd">@file</span> <span class="n">myClass</span><span class="o">.</span><span class="n">py</span>
<span class="nd">@auto</span> <span class="o">../</span><span class="n">graphics</span><span class="o">/</span><span class="n">circles</span><span class="o">.</span><span class="n">cpp</span>
<span class="nd">@edit</span> <span class="o">~/.</span><span class="n">leo</span><span class="o">/.</span><span class="n">leoID</span><span class="o">.</span><span class="n">txt</span>
</pre></div>
</div>
<p>As you can see, these nodes specify file names, which can be an absolute
path or a path relative to the directory containing the Leo outline.</p>
<p>Collectively, nodes that create external files are known as &#64;&lt;file&gt; nodes.
Leo defines several other kinds of &#64;&lt;file&gt; nodes, but this slideshow will
not discuss them.</p>
</section>


            <div class="clearer"></div>
          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="../../leo_toc.html">
              <img class="logo" src="../../_static/LeoLogo.svg" alt="Logo"/>
            </a></p>
  <div>
    <h4>Previous topic</h4>
    <p class="topless"><a href="external-files.html"
                          title="previous chapter">Using external files</a></p>
  </div>
  <div>
    <h4>Next topic</h4>
    <p class="topless"><a href="slide-002.html"
                          title="next chapter">Loading and saving files</a></p>
  </div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>
        </div>
<div id="sidebarbutton" title="Collapse sidebar">
<span>«</span>
</div>

      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="slide-002.html" title="Loading and saving files"
             >next</a> |</li>
        <li class="right" >
          <a href="external-files.html" title="Using external files"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="../../leo_toc.html">Leo 6.7.2 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="../../toc-more-links.html" >More Leo Links</a> &#187;</li>
          <li class="nav-item nav-item-2"><a href="../../slides.html" >Slides</a> &#187;</li>
          <li class="nav-item nav-item-3"><a href="external-files.html" >Using external files</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">About external files</a></li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 1997-2023, Edward K. Ream.
      Last updated on February 28, 2023.
      Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.3.0.
    </div>
  </body>
</html>